#ifndef _MP4_PKT_H
#define _MP4_PKT_H
#ifdef __cplusplus
extern "C" {
#endif
#include "mov-writer.h"
#include "mov-format.h"
#include "mpeg4-avc.h"
#include "mpeg4-aac.h"
#include "mpeg4-hevc.h"
#include "mov-buffer.h"

struct mov_h264_test_t
{
	mov_writer_t* mov;
	struct mpeg4_avc_t avc;
	struct mpeg4_aac_t aac;
	struct mpeg4_hevc_t hevc;

	int track;
	int trackAudio;

	int width;
	int height;
	uint32_t pts, dts;
	const uint8_t* ptr;

	uint32_t ptsAudio, dtsAudio;

	int vcl;
};
const struct mov_buffer_t* mov_file_buffer(void);
bool init_av_track(struct mov_h264_test_t& ctx, int codec_type, unsigned char* s_extra_data);
#ifdef __cplusplus
}
#endif


#endif
